package com.qiche.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "seckill_success")
public class SeckillSuccess2 {
    /**
     * card表id
     */
    @Id
    @Column(name = "card_id")
    private Long cardId;

    /**
     * 用户表id
     */
    @Id
    @Column(name = "member_id")
    private Long memberId;

    /**
     * 均发门店-秒杀卡券表id
     */
    @Column(name = "seckill_id")
    private Long seckillId;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    @Transient
    private Store2 store;

    public Store2 getStore() {
        return store;
    }

    public void setStore(Store2 store) {
        this.store = store;
    }

    /**
     * 获取card表id
     *
     * @return card_id - card表id
     */
    public Long getCardId() {
        return cardId;
    }

    /**
     * 设置card表id
     *
     * @param cardId card表id
     */
    public void setCardId(Long cardId) {
        this.cardId = cardId;
    }

    /**
     * 获取用户表id
     *
     * @return member_id - 用户表id
     */
    public Long getMemberId() {
        return memberId;
    }

    /**
     * 设置用户表id
     *
     * @param memberId 用户表id
     */
    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    /**
     * 获取均发门店-秒杀卡券表id
     *
     * @return seckill_id - 均发门店-秒杀卡券表id
     */
    public Long getSeckillId() {
        return seckillId;
    }

    /**
     * 设置均发门店-秒杀卡券表id
     *
     * @param seckillId 均发门店-秒杀卡券表id
     */
    public void setSeckillId(Long seckillId) {
        this.seckillId = seckillId;
    }

    /**
     * 获取更新时间
     *
     * @return update_time - 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置更新时间
     *
     * @param updateTime 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}